-
Notifications
You must be signed in to change notification settings - Fork 4.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(source-amazon-ads): Configure max concurrent async job count #55745
base: master
Are you sure you want to change the base?
(source-amazon-ads): Configure max concurrent async job count #55745
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
APPROVED
|
I'm very hyped for this. Can we take a couple of syncs that are long and see how much it improves the performance? |
@@ -7,6 +7,8 @@ check: | |||
stream_names: | |||
- streams | |||
|
|||
max_concurrent_async_job_count: 10 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: should we make this configurable? I fear some users might re-use their creds for other processes or even for multiple syncs hence making this configurable would give us an escape patch in those cases
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I went back and forth on this for a while, but this is the best justification I've seen for making it configurable. I'll create a follow-up issue for this.
Unit tests borked? |
@natikgadzhi (cc: @maxi297 @bazarnov ) There was a change in the CDK that affects this connector. Specifically
|
The changes needed to resolve this were documented as part of this ticket and @topefolorunso is assigned to this issue. I'm not sure what is the progress on this though |
@pnilan @maxi297 This is something I've missed during the adding more interpolation context to the AsyncRetriever. The update for the manifest would look like this: Amazon-Advertising-API-Scope: "{{ creation_response['headers]['Amazon-Advertising-API-Scope'] }}" The same properties would be available for the |
What
max_concurrent_async_job_count
to 10urls_extractor
todownload_target_extractor
.stream_slice["create_job_response"]
tocreation_response
.stream_slice.extra_fields["url"]
todownload_target
.Note
Amazon API Docs
User Impact
Can this PR be safely reverted and rolled back?